package com.spsoft.vatoutinv.model.vo.vmstransactionflowinvoice;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @author wangy
 * @date 2024/1/8 14:24
 */
@Data
public class VmsTransacitonFlowInvoiceItemVo {

    /**
     * 交易流水开票id
     */
    @ApiModelProperty(value = "交易流水开票id", notes = "交易流水开票id")
    private Long id;

    /**
     * 购买方名称
     */
    @ApiModelProperty(value = "购买方名称", notes = "购买方名称")
    private String kfhm;

    /**
     * 计量单位
     */
    @ApiModelProperty(value = "计量单位", notes = "计量单位")
    private String jldw;

    /**
     * 项目数量
     */
    @ApiModelProperty(value = "项目数量", notes = "项目数量")
    @JsonSerialize(using = ToStringSerializer.class)
    private BigDecimal xmsl;

    /**
     * 项目单价
     */
    @ApiModelProperty(value = "项目单价", notes = "项目单价")
    @JsonSerialize(using = ToStringSerializer.class)
    private BigDecimal xmdj;

    /**
     * 不含税金额
     */
    @ApiModelProperty(value = "不含税金额", notes = "不含税金额")
    @JsonSerialize(using = ToStringSerializer.class)
    private BigDecimal bhsje;

    /**
     * 税率
     */
    @ApiModelProperty(value = "税率", notes = "税率")
    @JsonSerialize(using = ToStringSerializer.class)
    private BigDecimal sysl;

    /**
     * 税额
     */
    @ApiModelProperty(value = "税额", notes = "税额")
    @JsonSerialize(using = ToStringSerializer.class)
    private BigDecimal xxse;

    /**
     * 备注
     */
    @ApiModelProperty(value = "备注", notes = "备注")
    private String bz;

    /**
     * 规格型号
     */
    @ApiModelProperty(value = "规格型号", notes = "规格型号")
    private String expcol1;

    /**
     * 纳税人识别号
     */
    @ApiModelProperty(value = "纳税人识别号", notes = "纳税人识别号")
    private String nsrsbh;

    /**
     * 险种简称
     */
    @ApiModelProperty(value = "险种简称", notes = "险种全称")
    private String xzjc;

    /**
     * 交易金额
     */
    @ApiModelProperty(value = "交易金额", notes = "交易金额")
    private BigDecimal jyje;
}
